package com.bishe.demo.modules.other.service;

import com.bishe.demo.modules.common.entity.ResultEntity;
import com.bishe.demo.modules.common.entity.SearchBean;
import com.bishe.demo.modules.other.entity.Travel;
import com.github.pagehelper.PageInfo;

public interface TravelService {
    ResultEntity<Travel> insertTravel(Travel travel);

    ResultEntity<Travel> updateTravel(Travel travel);

    ResultEntity<Travel> deleteTravelByTravelId(int travelId);

    Travel getTravelByTravelId(int travelId);

    PageInfo<Travel> getTravelBySearchBean(SearchBean searchBean);
}
